<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>盒模型实验</title>
    <link rel="stylesheet" href="css/experiment.css">
</head>

<body>
    <div :style="{ width: w+'px', height: h + 'px' }"></div>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script>
        const { createApp } = Vue

        createApp({
            data() {
                return {
                    w: 100,
                    h: 100,
                    m: 'hello'
                }
            }
        }).mount('#app')
    </script>
</body>

</html>